package FactoryMode.version2;

public class Main {


    public static void main(String[] args) {
        LeiFeng xueleifeng=new Undergraduate();
        xueleifeng.BuyRice();
        xueleifeng.Sweep();
        xueleifeng.Wash();

        LeiFeng student1=new Undergraduate();
        student1.BuyRice();
        LeiFeng student2=new Undergraduate();
        student2.Sweep();
        LeiFeng student3=new Undergraduate();
        student3.Wash();

    }

}
